package com.aster.service.manage.service;

import com.aster.common.base.BaseService;
import com.aster.common.dto.UserToken;
import com.aster.common.exception.ServiceException;
import com.aster.common.utils.PageUtils;
import com.aster.service.manage.domain.TbHospitalInfo;
import com.aster.service.manage.service.criteria.HospitalCriteria;

/**
 * 
 * <br>
 * <b>功能：</b>TbHospitalInfoService<br>
 */
public interface HospitalInfoService extends BaseService {

    /**
     * 根据条件查询医院信息
     * @param criteria
     * @return
     */
    PageUtils getHospitalInfoForPage(HospitalCriteria criteria);

    /**
     * 添加医院信息
     * @param tbHospitalInfo 医院信息数据库模型
     */
    void addHospitalInfo(TbHospitalInfo tbHospitalInfo, UserToken userToken) throws ServiceException;

    /**
     * 编辑医院信息
     * @param tbHospitalInfo 医院信息数据库模型
     * @param userToken
     * @throws ServiceException
     */
    void editHospitalInfo(TbHospitalInfo tbHospitalInfo, UserToken userToken) throws ServiceException;
}
